package com.project.pojo.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: 后台给用户充值入参类
 * @Author: zhuchi
 * @CreateDate: 2020/6/27 22:39
 * @Version: 1.0
 */
@Data
public class PcRechargeModel {

    /**
     * 用户ID
     */
    @NotNull(message = "{validation.userId}")
    private Long userId;

    /**
     * 金额
     */
    @NotNull(message = "{validation.rechargeAmount}")
    private BigDecimal amount;

    /**
     * 上分类型（1:福利赠送,2:补分）
     */
    private Integer upperType;

    /**
     * 备注
     */
    private String description;

}
